<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.16"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>LibTools: CSockError类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">LibTools
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.16 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',false,false,'search.php','搜索');
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-types">Public 类型</a> &#124;
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pub-attribs">Public 属性</a> &#124;
<a href="class_c_sock_error-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">CSockError类 参考</div>  </div>
</div><!--header-->
<div class="contents">

<p>初始化服务器  
 <a href="class_c_sock_error.html#details">更多...</a></p>

<p><code>#include &lt;<a class="el" href="_ipc_base_8h_source.html">IpcBase.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public 类型</h2></td></tr>
<tr class="memitem:a1bef13a44763b0fbc3cbbd9c86d8d15a"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_sock_error.html#a1bef13a44763b0fbc3cbbd9c86d8d15a">ErrorType</a> { <br />
&#160;&#160;<a class="el" href="class_c_sock_error.html#a1bef13a44763b0fbc3cbbd9c86d8d15aa165f97697ce92cdb961f6ad0d365eec0">SUCC</a>, 
<a class="el" href="class_c_sock_error.html#a1bef13a44763b0fbc3cbbd9c86d8d15aad360c22cd3f0fe1336f4fabb9d0845cb">DISCONNECT</a>, 
<a class="el" href="class_c_sock_error.html#a1bef13a44763b0fbc3cbbd9c86d8d15aaf7b943d3a273053f32ff352b9ac523f6">TIMEOUT</a>, 
<a class="el" href="class_c_sock_error.html#a1bef13a44763b0fbc3cbbd9c86d8d15aaf46039751a3ea7e5cdde83bce86f2903">CANCELIO</a>, 
<br />
&#160;&#160;<a class="el" href="class_c_sock_error.html#a1bef13a44763b0fbc3cbbd9c86d8d15aa94ea62aaf7ea28879420376443d6f145">SYS_ERROR</a>, 
<a class="el" href="class_c_sock_error.html#a1bef13a44763b0fbc3cbbd9c86d8d15aa2b1ca7583dc68c07ecbb15707cadb04e">UNINIT</a>, 
<a class="el" href="class_c_sock_error.html#a1bef13a44763b0fbc3cbbd9c86d8d15aad778c60f48f11b31cdfbb9ce397a70d3">BIND_SERVER_ERROR</a>, 
<a class="el" href="class_c_sock_error.html#a1bef13a44763b0fbc3cbbd9c86d8d15aaa1d8c4a8e36db07931d1ec33c3e09a54">UNKNOWN</a>, 
<br />
&#160;&#160;<a class="el" href="class_c_sock_error.html#a1bef13a44763b0fbc3cbbd9c86d8d15aac5471da962b8033c53f0324538168542">NOLISTEN</a>, 
<a class="el" href="class_c_sock_error.html#a1bef13a44763b0fbc3cbbd9c86d8d15aa81eb3f9d82cd6046e077ef5c0e8350a3">NOFUNCTION</a>
<br />
 }</td></tr>
<tr class="separator:a1bef13a44763b0fbc3cbbd9c86d8d15a"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:a81bfd801ceb4a134fc5223bc16f79413"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_sock_error.html#a81bfd801ceb4a134fc5223bc16f79413">CSockError</a> ()</td></tr>
<tr class="separator:a81bfd801ceb4a134fc5223bc16f79413"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad4cc051e234004b13a09bdef5aaca22f"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_sock_error.html#ad4cc051e234004b13a09bdef5aaca22f">CSockError</a> (<a class="el" href="class_c_sock_error.html#a1bef13a44763b0fbc3cbbd9c86d8d15a">ErrorType</a> type)</td></tr>
<tr class="separator:ad4cc051e234004b13a09bdef5aaca22f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af6133f4d4f62d899219e9715c128199d"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_sock_error.html#af6133f4d4f62d899219e9715c128199d">CSockError</a> (<a class="el" href="tools_8h.html#a798af1e30bc65f319c1a246cecf59e39">DWORD</a> code)</td></tr>
<tr class="separator:af6133f4d4f62d899219e9715c128199d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a201b6dd90a487c5e8172cfd6152aee93"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_sock_error.html#a201b6dd90a487c5e8172cfd6152aee93">CSockError</a> (const <a class="el" href="class_c_sock_error.html">CSockError</a> &amp;ec)</td></tr>
<tr class="separator:a201b6dd90a487c5e8172cfd6152aee93"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4fabe080794e89c569b300ef0fc26a13"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_sock_error.html#a4fabe080794e89c569b300ef0fc26a13">GetErrorMsg</a> () const</td></tr>
<tr class="memdesc:a4fabe080794e89c569b300ef0fc26a13"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取错误信息  <a href="class_c_sock_error.html#a4fabe080794e89c569b300ef0fc26a13">更多...</a><br /></td></tr>
<tr class="separator:a4fabe080794e89c569b300ef0fc26a13"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a974c1cd99062ec67524013661ffabeef"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_sock_error.html#a974c1cd99062ec67524013661ffabeef">operator!</a> () const</td></tr>
<tr class="memdesc:a974c1cd99062ec67524013661ffabeef"><td class="mdescLeft">&#160;</td><td class="mdescRight">判断是否有错误  <a href="class_c_sock_error.html#a974c1cd99062ec67524013661ffabeef">更多...</a><br /></td></tr>
<tr class="separator:a974c1cd99062ec67524013661ffabeef"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a146f44881220502c14283dfe010534d0"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_sock_error.html#a146f44881220502c14283dfe010534d0">operator bool</a> () const</td></tr>
<tr class="memdesc:a146f44881220502c14283dfe010534d0"><td class="mdescLeft">&#160;</td><td class="mdescRight">返回错误类型  <a href="class_c_sock_error.html#a146f44881220502c14283dfe010534d0">更多...</a><br /></td></tr>
<tr class="separator:a146f44881220502c14283dfe010534d0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3146d97ee6af5b645265d1c604fde5c2"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_sock_error.html#a3146d97ee6af5b645265d1c604fde5c2">SetError</a> (<a class="el" href="class_c_sock_error.html#a1bef13a44763b0fbc3cbbd9c86d8d15a">ErrorType</a> type)</td></tr>
<tr class="memdesc:a3146d97ee6af5b645265d1c604fde5c2"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置错误码  <a href="class_c_sock_error.html#a3146d97ee6af5b645265d1c604fde5c2">更多...</a><br /></td></tr>
<tr class="separator:a3146d97ee6af5b645265d1c604fde5c2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac608c15cce8ab11d5683d41385f814fc"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_sock_error.html#ac608c15cce8ab11d5683d41385f814fc">SetSysError</a> (<a class="el" href="tools_8h.html#a798af1e30bc65f319c1a246cecf59e39">DWORD</a> code)</td></tr>
<tr class="memdesc:ac608c15cce8ab11d5683d41385f814fc"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置系统错误码  <a href="class_c_sock_error.html#ac608c15cce8ab11d5683d41385f814fc">更多...</a><br /></td></tr>
<tr class="separator:ac608c15cce8ab11d5683d41385f814fc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3d7fba2b80b8243b2a213e463896f016"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_c_sock_error.html#a1bef13a44763b0fbc3cbbd9c86d8d15a">ErrorType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_sock_error.html#a3d7fba2b80b8243b2a213e463896f016">GetError</a> () const</td></tr>
<tr class="memdesc:a3d7fba2b80b8243b2a213e463896f016"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取错误码  <a href="class_c_sock_error.html#a3d7fba2b80b8243b2a213e463896f016">更多...</a><br /></td></tr>
<tr class="separator:a3d7fba2b80b8243b2a213e463896f016"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1b8d305e5d4f5ec53467ae2978da6427"><td class="memItemLeft" align="right" valign="top"><a class="el" href="tools_8h.html#a798af1e30bc65f319c1a246cecf59e39">DWORD</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_sock_error.html#a1b8d305e5d4f5ec53467ae2978da6427">GetSysError</a> () const</td></tr>
<tr class="memdesc:a1b8d305e5d4f5ec53467ae2978da6427"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取系统错误码  <a href="class_c_sock_error.html#a1b8d305e5d4f5ec53467ae2978da6427">更多...</a><br /></td></tr>
<tr class="separator:a1b8d305e5d4f5ec53467ae2978da6427"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2dca2d1c581032cc917308dc9d943b03"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_c_sock_error.html">CSockError</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_sock_error.html#a2dca2d1c581032cc917308dc9d943b03">operator=</a> (const <a class="el" href="class_c_sock_error.html">CSockError</a> &amp;ec)</td></tr>
<tr class="memdesc:a2dca2d1c581032cc917308dc9d943b03"><td class="mdescLeft">&#160;</td><td class="mdescRight">重载赋值函数  <a href="class_c_sock_error.html#a2dca2d1c581032cc917308dc9d943b03">更多...</a><br /></td></tr>
<tr class="separator:a2dca2d1c581032cc917308dc9d943b03"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public 属性</h2></td></tr>
<tr class="memitem:a50491b8932c796ea9c87902a7c383bd6"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_c_sock_error.html#a1bef13a44763b0fbc3cbbd9c86d8d15a">ErrorType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_sock_error.html#a50491b8932c796ea9c87902a7c383bd6">_ErrType</a></td></tr>
<tr class="memdesc:a50491b8932c796ea9c87902a7c383bd6"><td class="mdescLeft">&#160;</td><td class="mdescRight">错误类型  <a href="class_c_sock_error.html#a50491b8932c796ea9c87902a7c383bd6">更多...</a><br /></td></tr>
<tr class="separator:a50491b8932c796ea9c87902a7c383bd6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad426611d7b0485ec94755a81751ec275"><td class="memItemLeft" align="right" valign="top"><a class="el" href="tools_8h.html#a798af1e30bc65f319c1a246cecf59e39">DWORD</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_sock_error.html#ad426611d7b0485ec94755a81751ec275">_SysCode</a></td></tr>
<tr class="memdesc:ad426611d7b0485ec94755a81751ec275"><td class="mdescLeft">&#160;</td><td class="mdescRight">系统错误码  <a href="class_c_sock_error.html#ad426611d7b0485ec94755a81751ec275">更多...</a><br /></td></tr>
<tr class="separator:ad426611d7b0485ec94755a81751ec275"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p>初始化服务器 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">name</td><td>ipc通信名称 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>成功返回SUCC 失败返回相应的错误码;参考: </dd></dl>
</div><h2 class="groupheader">成员枚举类型说明</h2>
<a id="a1bef13a44763b0fbc3cbbd9c86d8d15a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1bef13a44763b0fbc3cbbd9c86d8d15a">&#9670;&nbsp;</a></span>ErrorType</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum CSockError::ErrorType</td>
        </tr>
      </table>
</div><div class="memdoc">
<table class="fieldtable">
<tr><th colspan="2">枚举值</th></tr><tr><td class="fieldname"><a id="a1bef13a44763b0fbc3cbbd9c86d8d15aa165f97697ce92cdb961f6ad0d365eec0"></a>SUCC&#160;</td><td class="fielddoc"><p>正常 </p>
</td></tr>
<tr><td class="fieldname"><a id="a1bef13a44763b0fbc3cbbd9c86d8d15aad360c22cd3f0fe1336f4fabb9d0845cb"></a>DISCONNECT&#160;</td><td class="fielddoc"><p>连接断开 </p>
</td></tr>
<tr><td class="fieldname"><a id="a1bef13a44763b0fbc3cbbd9c86d8d15aaf7b943d3a273053f32ff352b9ac523f6"></a>TIMEOUT&#160;</td><td class="fielddoc"><p>超时 </p>
</td></tr>
<tr><td class="fieldname"><a id="a1bef13a44763b0fbc3cbbd9c86d8d15aaf46039751a3ea7e5cdde83bce86f2903"></a>CANCELIO&#160;</td><td class="fielddoc"><p>io被取消 </p>
</td></tr>
<tr><td class="fieldname"><a id="a1bef13a44763b0fbc3cbbd9c86d8d15aa94ea62aaf7ea28879420376443d6f145"></a>SYS_ERROR&#160;</td><td class="fielddoc"><p>系统错误，可以获取系统错误码 </p>
</td></tr>
<tr><td class="fieldname"><a id="a1bef13a44763b0fbc3cbbd9c86d8d15aa2b1ca7583dc68c07ecbb15707cadb04e"></a>UNINIT&#160;</td><td class="fielddoc"><p>未初始化 </p>
</td></tr>
<tr><td class="fieldname"><a id="a1bef13a44763b0fbc3cbbd9c86d8d15aad778c60f48f11b31cdfbb9ce397a70d3"></a>BIND_SERVER_ERROR&#160;</td><td class="fielddoc"><p>绑定服务错误 </p>
</td></tr>
<tr><td class="fieldname"><a id="a1bef13a44763b0fbc3cbbd9c86d8d15aaa1d8c4a8e36db07931d1ec33c3e09a54"></a>UNKNOWN&#160;</td><td class="fielddoc"><p>未知错误 </p>
</td></tr>
<tr><td class="fieldname"><a id="a1bef13a44763b0fbc3cbbd9c86d8d15aac5471da962b8033c53f0324538168542"></a>NOLISTEN&#160;</td><td class="fielddoc"><p>未监听 </p>
</td></tr>
<tr><td class="fieldname"><a id="a1bef13a44763b0fbc3cbbd9c86d8d15aa81eb3f9d82cd6046e077ef5c0e8350a3"></a>NOFUNCTION&#160;</td><td class="fielddoc"><p>无此功能 </p>
</td></tr>
</table>

<p class="definition">在文件 <a class="el" href="_sock_error_8h_source.html">SockError.h</a> 第 <a class="el" href="_sock_error_8h_source.html#l00016">16</a> 行定义.</p>

</div>
</div>
<h2 class="groupheader">构造及析构函数说明</h2>
<a id="a81bfd801ceb4a134fc5223bc16f79413"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a81bfd801ceb4a134fc5223bc16f79413">&#9670;&nbsp;</a></span>CSockError() <span class="overload">[1/4]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">CSockError::CSockError </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="_sock_error_8cpp_source.html">SockError.cpp</a> 第 <a class="el" href="_sock_error_8cpp_source.html#l00008">8</a> 行定义.</p>

</div>
</div>
<a id="ad4cc051e234004b13a09bdef5aaca22f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad4cc051e234004b13a09bdef5aaca22f">&#9670;&nbsp;</a></span>CSockError() <span class="overload">[2/4]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">CSockError::CSockError </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_c_sock_error.html#a1bef13a44763b0fbc3cbbd9c86d8d15a">ErrorType</a>&#160;</td>
          <td class="paramname"><em>type</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="_sock_error_8cpp_source.html">SockError.cpp</a> 第 <a class="el" href="_sock_error_8cpp_source.html#l00013">13</a> 行定义.</p>

</div>
</div>
<a id="af6133f4d4f62d899219e9715c128199d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af6133f4d4f62d899219e9715c128199d">&#9670;&nbsp;</a></span>CSockError() <span class="overload">[3/4]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">CSockError::CSockError </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="tools_8h.html#a798af1e30bc65f319c1a246cecf59e39">DWORD</a>&#160;</td>
          <td class="paramname"><em>code</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="_sock_error_8cpp_source.html">SockError.cpp</a> 第 <a class="el" href="_sock_error_8cpp_source.html#l00018">18</a> 行定义.</p>

</div>
</div>
<a id="a201b6dd90a487c5e8172cfd6152aee93"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a201b6dd90a487c5e8172cfd6152aee93">&#9670;&nbsp;</a></span>CSockError() <span class="overload">[4/4]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">CSockError::CSockError </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_c_sock_error.html">CSockError</a> &amp;&#160;</td>
          <td class="paramname"><em>ec</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="_sock_error_8cpp_source.html">SockError.cpp</a> 第 <a class="el" href="_sock_error_8cpp_source.html#l00023">23</a> 行定义.</p>

</div>
</div>
<h2 class="groupheader">成员函数说明</h2>
<a id="a3d7fba2b80b8243b2a213e463896f016"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3d7fba2b80b8243b2a213e463896f016">&#9670;&nbsp;</a></span>GetError()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">CSockError::ErrorType CSockError::GetError </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取错误码 </p>

<p class="definition">在文件 <a class="el" href="_sock_error_8cpp_source.html">SockError.cpp</a> 第 <a class="el" href="_sock_error_8cpp_source.html#l00075">75</a> 行定义.</p>

</div>
</div>
<a id="a4fabe080794e89c569b300ef0fc26a13"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4fabe080794e89c569b300ef0fc26a13">&#9670;&nbsp;</a></span>GetErrorMsg()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::string CSockError::GetErrorMsg </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取错误信息 </p>

<p class="definition">在文件 <a class="el" href="_sock_error_8cpp_source.html">SockError.cpp</a> 第 <a class="el" href="_sock_error_8cpp_source.html#l00085">85</a> 行定义.</p>

</div>
</div>
<a id="a1b8d305e5d4f5ec53467ae2978da6427"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1b8d305e5d4f5ec53467ae2978da6427">&#9670;&nbsp;</a></span>GetSysError()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="tools_8h.html#a798af1e30bc65f319c1a246cecf59e39">DWORD</a> CSockError::GetSysError </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取系统错误码 </p>

<p class="definition">在文件 <a class="el" href="_sock_error_8cpp_source.html">SockError.cpp</a> 第 <a class="el" href="_sock_error_8cpp_source.html#l00080">80</a> 行定义.</p>

</div>
</div>
<a id="a146f44881220502c14283dfe010534d0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a146f44881220502c14283dfe010534d0">&#9670;&nbsp;</a></span>operator bool()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">CSockError::operator bool </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>返回错误类型 </p>

<p class="definition">在文件 <a class="el" href="_sock_error_8cpp_source.html">SockError.cpp</a> 第 <a class="el" href="_sock_error_8cpp_source.html#l00070">70</a> 行定义.</p>

</div>
</div>
<a id="a974c1cd99062ec67524013661ffabeef"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a974c1cd99062ec67524013661ffabeef">&#9670;&nbsp;</a></span>operator!()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool CSockError::operator! </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>判断是否有错误 </p>

<p class="definition">在文件 <a class="el" href="_sock_error_8cpp_source.html">SockError.cpp</a> 第 <a class="el" href="_sock_error_8cpp_source.html#l00065">65</a> 行定义.</p>

</div>
</div>
<a id="a2dca2d1c581032cc917308dc9d943b03"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2dca2d1c581032cc917308dc9d943b03">&#9670;&nbsp;</a></span>operator=()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_c_sock_error.html">CSockError</a> &amp; CSockError::operator= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_c_sock_error.html">CSockError</a> &amp;&#160;</td>
          <td class="paramname"><em>ec</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>重载赋值函数 </p>

<p class="definition">在文件 <a class="el" href="_sock_error_8cpp_source.html">SockError.cpp</a> 第 <a class="el" href="_sock_error_8cpp_source.html#l00032">32</a> 行定义.</p>

</div>
</div>
<a id="a3146d97ee6af5b645265d1c604fde5c2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3146d97ee6af5b645265d1c604fde5c2">&#9670;&nbsp;</a></span>SetError()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CSockError::SetError </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_c_sock_error.html#a1bef13a44763b0fbc3cbbd9c86d8d15a">ErrorType</a>&#160;</td>
          <td class="paramname"><em>type</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>设置错误码 </p>

<p class="definition">在文件 <a class="el" href="_sock_error_8cpp_source.html">SockError.cpp</a> 第 <a class="el" href="_sock_error_8cpp_source.html#l00042">42</a> 行定义.</p>

</div>
</div>
<a id="ac608c15cce8ab11d5683d41385f814fc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac608c15cce8ab11d5683d41385f814fc">&#9670;&nbsp;</a></span>SetSysError()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CSockError::SetSysError </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="tools_8h.html#a798af1e30bc65f319c1a246cecf59e39">DWORD</a>&#160;</td>
          <td class="paramname"><em>code</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>设置系统错误码 </p>

<p class="definition">在文件 <a class="el" href="_sock_error_8cpp_source.html">SockError.cpp</a> 第 <a class="el" href="_sock_error_8cpp_source.html#l00055">55</a> 行定义.</p>

</div>
</div>
<h2 class="groupheader">类成员变量说明</h2>
<a id="a50491b8932c796ea9c87902a7c383bd6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a50491b8932c796ea9c87902a7c383bd6">&#9670;&nbsp;</a></span>_ErrType</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_c_sock_error.html#a1bef13a44763b0fbc3cbbd9c86d8d15a">ErrorType</a> CSockError::_ErrType</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>错误类型 </p>

<p class="definition">在文件 <a class="el" href="_sock_error_8h_source.html">SockError.h</a> 第 <a class="el" href="_sock_error_8h_source.html#l00030">30</a> 行定义.</p>

</div>
</div>
<a id="ad426611d7b0485ec94755a81751ec275"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad426611d7b0485ec94755a81751ec275">&#9670;&nbsp;</a></span>_SysCode</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="tools_8h.html#a798af1e30bc65f319c1a246cecf59e39">DWORD</a> CSockError::_SysCode</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>系统错误码 </p>

<p class="definition">在文件 <a class="el" href="_sock_error_8h_source.html">SockError.h</a> 第 <a class="el" href="_sock_error_8h_source.html#l00031">31</a> 行定义.</p>

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>H:/project/LibTools/src/ipc/internal/<a class="el" href="_ipc_base_8h_source.html">IpcBase.h</a></li>
<li>H:/project/LibTools/src/socket/<a class="el" href="_sock_error_8h_source.html">SockError.h</a></li>
<li>H:/project/LibTools/src/socket/<a class="el" href="_sock_error_8cpp_source.html">SockError.cpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者 &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.16
</small></address>
</body>
</html>
